package com.toubutu.audio.admin.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.toubutu.audio.vo.CommentVo;
import com.toubutu.audio.vo.UserInfoVo;
import com.toubutu.common.PageUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 朱鹏杰
 * @version 1.0
 * @date 2024年03月02日 0:11
 */
@Data
public class AdminCommentVo {
    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("父评论id")
    private Integer parentId;

    @ApiModelProperty("当前评论者信息")
    private UserInfoVo user;

    @JsonIgnore
    private Long userId;



    @ApiModelProperty("视频编码")
    private String videoCode;



    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
